package com.wsoft.hr.pm.vo.grade;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author z001
 * @Date 2025/3/3 13:13
 */
@Data
public class GradeStatusVO {

    @Schema(description = "主键")
    private Long id;

    /**
     * 编码
     */
    @Schema(description = "编码")
    private String code;

    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 年度
     */
    @Schema(description = "年度")
    @TableField("years")
    private String years;

    /**
     * 是否启用
     */
    @Schema(description = "是否启用")
    private Integer enable;

    /**
     * 截止时间
     */
    @Schema(description = "截止时间")
    private LocalDateTime expireDate;

    /**
     * 考核周期
     */
    @Schema(description = "考核周期")
    private String cycleIds;

    @Schema(description = "组织id")
    private Long hrOrgId;

    @Schema(description = "工作流状态")
    private Integer status;

    @Schema(description = "评级组织表id")
    private Long gradeOrgId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT)
    private String createBy;
}
